package com.ynsj.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ynsj.domain.UserBank;
import com.baomidou.mybatisplus.extension.service.IService;
public interface UserBankService extends IService<UserBank>{

    /**
     * 分页查询会员银行卡信息
     * @param page
     * @param userId
     * @return
     */
    Page<UserBank> findBankByPage(Page<UserBank> page, Long userId);

    /**
     * 启用/禁用银行卡信息
     * @param id
     * @param status
     * @return
     */
    boolean updateStatus(Long id, Integer status);

}
